FROM adoptopenjdk/openjdk8-openj9:alpine-slim

MAINTAINER zheng.zhang

RUN mkdir -p /demo/desk

WORKDIR /demo/desk

EXPOSE 8085

ADD ./target/excel-demo-0.0.1-SNAPSHOT.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

CMD ["--spring.profiles.active=dev"]